package tieba.core.exception;

public class SignException extends BaseException {
	private static final long serialVersionUID = 1L;

	// user-defined errorCode
	private static int getUDCode() {
		return 101;
	}

	// HTTP status
	private static int getHTTPStatus() {
		return 202;
	}

	public SignException(String message, Object data) {
		super(message, getUDCode(), getHTTPStatus(), data);
	}

	public SignException(String message) {
		super(message, getUDCode(), getHTTPStatus(), null);
	}
}
